import request from "@/api/request";
import { type AxiosRequestConfig } from "axios";
import { type DeepRequired } from "../../interface";

/**
 * /rawRecord/{id}
 */
export function getRawRecordById(params: GetRawRecordByIdParams, config?: AxiosRequestConfig) {
    return request.get<DeepRequired<any>>(`/rawRecord/${params.id}`, config);
}

export interface GetRawRecordByIdParams {
    id: number;
}
